package ai.people.netmon.framework.domain.searchmsg.bean;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = false)
public class InfoData extends EsHitSource {
    //
    //{"id":"1125374237508388863","content":"File viewer","title":"File viewer",
    //        "date":"2021-11-29T09:37:04+0800","ts":"2021-11-29T01:37:04+0800",
    //        "url":"http://satforumtmmmniae.onion/download/index.php?action=view&filename=DSR8001PR-S-5Oct2007.zip&directory=trash%2Fgi_sh"
    //        ,"info_type":"tor"}
    private String id;
    private String content;
    private String date;

    private String title;
    private String ts;
    private String url;
    private String user_id;
    private String user_name;
    private String group_id;
    private String group_name;
    private String site_name;
    private String domain;
    private String sentiment;
    private JSONObject tag;

    @JsonProperty("info_type")
    private String source;
}
